package com.stgl.service;

import com.stgl.dao.JffsDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class JffsService {
    @Autowired
    private JffsDao jffsDao;

    public List<Map<String,Object>>getJffs(Map<String,Object>gmap)
    {
        List<Map<String,Object>>list1=jffsDao.getJffs(gmap);
        return list1;
    }

    public int updateJffs(Map<String,Object>gmap)
    {
        return jffsDao.updateJffs(gmap);
    }

    public int addJffs(Map<String,Object>gmap)
    {
        return jffsDao.addJffs(gmap);
    }

}
